<?php
namespace Api\Controller;
use Think\Controller;
class TeacherController extends Controller
{
	
	public function getteacherlist(){
		$teachersmodel=M('teacher');
     $teacher=$teachersmodel->order('teachid asc')->select();
     echo json_encode($teacher);
		 
	}

}